﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace MarpelPharma.BarcodeClasses
{
    class Barcode
    {
        #region Attributes

        private string code;
        private string name;
        private int quantity;
        private DateTime expiration;
        private string lotNumer;
        private int barcodeType;


        #endregion

        #region Properties

        public string Code
        {
            get { return code; }
            set { code = value; }
        }
      
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
       

        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }
       

        public DateTime Expiration
        {
            get { return expiration; }
            set { expiration = value; }
        }
        

        public string LotNumer
        {
            get { return lotNumer; }
            set { lotNumer = value; }
        }
       

        public int BarcodeType
        {
            get { return barcodeType; }
            set { barcodeType = value; }
        }

        #endregion

        #region Constructor

        public Barcode()
        {
        }

        public Barcode(string pcode, string pname, int pquantity, DateTime pexpiration, string plotNumber, int pbarcodeType)
        {

            Code = pcode;
            Name = pname;
            Quantity = pquantity;
            Expiration = pexpiration;
            LotNumer = plotNumber;
            BarcodeType = pbarcodeType;
        }

        #endregion

    }
}
